.box{
    width: 100px;
    height: 100px;
    background-color: #000000;
}

.image1{
    width: 100px;
    height: 100px;
    background-image: url("../image/1.jpg");
    background-size: cover;
}

.image2{
    width: 100px;
    height: 100px;
    background-image: url("../image/2.png");
    background-size: cover;
}